package com.slz3.business.frame.enums;

import lombok.AllArgsConstructor;

/**
 * 启用状态
 */
@AllArgsConstructor
public enum UsingFlag {
    ENABLE("启用"),
    DISABLE("禁用");
    private String nickname;
    public static boolean isEnable(UsingFlag usingFlag) {
        return ENABLE.equals(usingFlag);
    }
}
